home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
BARNET
/
FREENET
/
MELL
/
OLD
/
ReadMe1st
Wrap
Text File
|
1996-02-08
|
967b
|
28 lines
NetLib - the programmer's interface to FreeNet.
The sources are seperated out into NetLib where they can be rebuilt
with the supplied MakeFile if necessary. The !NetLib directory defines
2 paths (NetLib$Path and Internet$Path). The !NetLib directory contains
all the headers files in the usual UNIX places.
Note that these headers are Acorn C compiler specific (assumes 16bit shorts)
Note you cannot use paths in #include statements like: "netlib:netinet/in.h"
I recommend using #include "netinet/in.h" and having -Inetlib: on the command
line to cc.
The headers are subject to change.
Read !NetLib.README for more information (including changelog)
NOTE: two functions (close & shutdown) have no prototype in these header
files, since there is a potential library name clash with these functions.
If you want to prototype them, then the prototypes you need are:
extern int close(int /*s*/);
extern int shutdown(int /*s*/, int /*how*/);